package com.wjh.www.entity.po;

import com.wjh.www.annotation.mybatis.Column;
import com.wjh.www.annotation.mybatis.Table;

/**
 * @author wjh
 * @date 2021/9/12 15:13
 * @Package com.wjh.anyview.entity.po
 */
@Table("permission")
public class Permission {
    @Column(value = "id")
    private Long id;
    @Column(value = "permission")
    private String permission;
    @Column(value = "description")
    private String description;

    public Permission() {
    }

    public Permission(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "Permission{" +
                "id=" + id +
                ", permission='" + permission + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
